const getters = {
  userId: state => state.user.userId,
  name: state => state.user.name,
  userInfo: state => {
    return  {
      userId: state.user.userId,
      name: state.user.name
    }
  }
}
export default getters
